package com.pubinfo.passbook.common.service.contract;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mashape.unirest.http.exceptions.UnirestException;
import com.pubinfo.passbook.common.entity.TContractWriteoffRelation;
import com.pubinfo.passbook.common.model.dto.contract.DescParam;
import com.pubinfo.passbook.common.model.dto.contract.*;
import com.pubinfo.passbook.common.model.vo.base.JsonResult;
import com.pubinfo.passbook.common.model.vo.contract.*;

import java.io.IOException;
import java.util.List;

/**
 * @author 全
 * @description 针对表【t_contract_writeoff_relation(报账单关联收入及项目成本信息)】的数据库操作Service
 * @createDate 2021-12-07 17:47:12
 */
public interface TContractWriteoffRelationService extends IService<TContractWriteoffRelation> {

    /**
     * 查询wbs成本信息
     */
    JsonResult<List<WBSInfoVo>> wbsList(ContractIdParam param);

    /**
     * 查询收入结转明细
     */
    JsonResult<List<IncomeInfoVo>> incomeList(ContractIdParam param);

    /**
     * 报账单所需数据
     */
    JsonResult<CompensateBaseVo> compensateList(String currentAcct,Integer type);

    /**
     * 成本冲销记录
     */

    JsonResult<CompensateBaseVo> costWriteOffList(Integer type,String currentAcct);

    /**
     *冲成本挑对数据
     */
     List<IncomeInfoBackVo>  IncomeInfoBackList(BackParam code);


    /**
     * 冲冲WBS数据
     */
    List<TContractProjectCostItemsBackVo>  WBSInfoBackList(WBackParam param);



}
